package com.homework3;

public class Test {
    public static void show(Shape shape){
        shape.draw();
    }

    public static void main(String[] args) {
        Rectangle r=new Rectangle();
        Pentagon p=new Pentagon();
        Triangle t=new Triangle();
        show(r);
        show(p);
        show(t);

    }
}
